package edu.nf.meituan.model.order;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nf.db.util.Column;

/***
 * 订单商品实体类
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderItem {

    /**
     * 订单类型id
     */
    @Column("order_item_id")
    private Integer orderItemId;
    /**
     * 订单id
     */
    @Column("order_id")
    private Integer orderId;
    /**
     * 商品id
     */
    @Column("items_id")
    private Integer itemsId;
    /**
     * 数量
     */
    @Column("quantity")
    private Integer quantity;
}
